class UserMailer < ActionMailer::Base
  # Send a validation e-mail, through a gmail account. This allows us
  # to avoid having a mail server, and makes setup easy
  def validation_email(to, first_name, last_name, id, sent_at = Time.now, host)
	@subject = 'FoodEx Account Validation'
	@first_name = first_name
	@last_name = last_name
	@email = to
	@id = id
	@recipients = to
	@from = 'rsrsfdf@gmail.com'
	@sent_on = sent_at
	@content_type = "text/html"
    @host = host
  end
end
